﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TA.JSON
{
	/// <summary>
	/// Possible states of a JSON reader.
	/// </summary>
	public enum JsonState
	{
		/// <summary>
		/// The default state.
		/// </summary>
		None = 0,
		/// <summary>
		/// Inside an object, expecting property name.
		/// </summary>
		Object = 11,
		/// <summary>
		/// Inside an object, expecting value.
		/// </summary>
		ObjectValue = 12,
		/// <summary>
		/// Inside an array, expecting value.
		/// </summary>
		Array = 21,
	}
}
